<template>
  <div>
    <SingleImage v-if="props.curComponets && props.curComponets.type === 'image'" />
  </div>
</template>

<script setup lang="ts">
import { ComponentVO } from '@/api/advertisement/site/types';
import SingleImage from './components/singleImage.vue';
const props = defineProps<{
  curComponets: ComponentVO;
}>();
watch(
  () => props.curComponets,
  () => {
    console.log('props=======>', props.curComponets);
  }
);
</script>

<style lang="scss" scoped></style>
